package com.tjmc.recruit.user.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tjmc.company.api.entity.JobInfoEntity;
import com.tjmc.recruit.user.entity.PersonalReadRecordsEntity;
import com.tjmc.recruit.user.vo.ResumeInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface PersonalReadRecordsMapper extends BaseMapper<PersonalReadRecordsEntity> {
    /**
     * 查看职位记录
     * @param page
     * @param params
     * @return
     */
    Page<JobInfoEntity> getReadJobPage(Page page, @Param("params") Map<String, Object> params);

    Page<ResumeInfoVO> getCheckCompanyPage(Page page, Long companyId);
}
